<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  <meta name="keywords" content="">
  <meta name="description" content="">
  <meta name="author" content="">

  <title> @yield('title')-创页天空文章管理系统</title>


  <!--common-->
  <link href="{{asset('adminex')}}/css/style.css" rel="stylesheet">
  <link href="{{asset('adminex')}}/css/style-responsive.css" rel="stylesheet">

    <!--icheck-->
    <link href="{{asset('adminex')}}/js/iCheck/skins/minimal/minimal.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/minimal/red.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/minimal/green.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/minimal/blue.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/minimal/yellow.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/minimal/purple.css" rel="stylesheet">

    <link href="{{asset('adminex')}}/js/iCheck/skins/square/square.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/square/red.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/square/green.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/square/blue.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/square/yellow.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/square/purple.css" rel="stylesheet">

    <link href="{{asset('adminex')}}/js/iCheck/skins/flat/grey.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/flat/red.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/flat/green.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/flat/blue.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/flat/yellow.css" rel="stylesheet">
    <link href="{{asset('adminex')}}/js/iCheck/skins/flat/purple.css" rel="stylesheet">



  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
  <script src="{{asset('adminex')}}js/html5shiv.js"></script>
  <script src="{{asset('adminex')}}js/respond.min.js"></script>
  <![endif]-->
</head>

<body class="sticky-header">
<section>
    <!-- left side start-->
    <div class="left-side sticky-left-side">

        <!--logo and iconic logo start-->
        <div class="logo">
            <a href="index.html"><img src="{{asset('adminex')}}/images/logo.png" alt=""></a>
        </div>

        <div class="logo-icon text-center">
            <a href="index.html"><img src="{{asset('adminex')}}/images/logo_icon.png" alt=""></a>
        </div>
        <!--logo and iconic logo end-->

        <div class="left-side-inner">

            <!-- visible to small devices only -->
            <div class="visible-xs hidden-sm hidden-md hidden-lg">
                <div class="media logged-user">
                    <img alt="" src="{{asset('adminex')}}/images/photos/user-avatar.png" class="media-object">
                    <div class="media-body">
                        <h4><a href="#">张佳兵</a></h4>
                    </div>
                </div>

                <h5 class="left-nav-title">个人信息</h5>
                <ul class="nav nav-pills nav-stacked custom-nav">
                  <li><a href="#"><i class="fa fa-user"></i> <span>简介</span></a></li>
                  <li><a href="#"><i class="fa fa-cog"></i> <span>基本设置</span></a></li>
                  <li><a href="{{url('logout')}}"><i class="fa fa-sign-out"></i> <span>注销</span></a></li>
                </ul>
            </div>
            <!--sidebar nav start-->
            <ul class="nav nav-pills nav-stacked custom-nav">
                <li class=""><a href="/"><i class="fa fa-home"></i> <span>系统平台</span></a></li>
                <li class="menu-list {{str_is('model/*', request()->path())?'active':''}}"><a href=""><i class="fa fa-laptop"></i> <span>模型管理</span></a>
                    <ul class="sub-menu-list">
                        <li class="{{str_is('model/add', request()->path())?'active':''}}">
                            <a href="{{url('model/add')}}"> 添加模型</a>
                        </li>
                        <li  class="{{str_is('model/index', request()->path())?'active':''}}">
                            <a href="{{url('model/index')}}"> 模型列表</a>
                        </li>
                    </ul>
                </li>
                <li class="menu-list {{str_is('cate/*', request()->path())?'active':''}}"><a href=""><i class="fa fa-book"></i> <span>栏目管理</span></a>
                    <ul class="sub-menu-list">
                        <li class="{{str_is('cate/add', request()->path())?'active':''}}">
                            <a href="{{url('cate/add')}}"> 添加栏目</a>
                            </li>
                        <li class="{{str_is('cate/index', request()->path())?'active':''}}">
                            <a href="{{url('cate/index')}}"> 栏目列表</a>
                        </li>
                    </ul>
                </li>

                <li class="{{str_is('info/*', request()->path())?'active':''}}"><a href="{{url('info/index')}}"><i class="fa fa-bullhorn"></i> <span>信息管理</span></a></li>
                <li class="menu-list"><a href=""><i class="fa fa-cogs"></i> <span>系统设置</span></a>
                    <ul class="sub-menu-list">
                        <li><a href="{{url('/')}}"> 基本设置</a></li>
                        <li><a href="{{url('/')}}"> 站长统计</a></li>
                        <li><a href="{{url('/')}}"> 邮箱配置</a></li>

                    </ul>
                </li>
            </ul>
            <!--sidebar nav end-->

        </div>
    </div>
    <!-- left side end-->
    
    <!-- main content start-->
    <div class="main-content" >

        <!-- header section start-->
        <div class="header-section">

            <!--toggle button start-->
            <a class="toggle-btn"><i class="fa fa-bars"></i></a>
            <!--toggle button end-->

            <!--search start-->
            <form class="searchform" action="index.html" method="post">
                <input type="text" class="form-control" name="keyword" placeholder="Search here..." />
            </form>
            <!--search end-->

            <!--notification menu start -->
            <div class="menu-right">
                <ul class="notification-menu">
                    <li>
                        <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                            <img src="{{asset('adminex')}}/images/photos/user-avatar.png" alt="" />张佳兵
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
                            <li><a href="#"><i class="fa fa-user"></i>  简介</a></li>
                            <li><a href="#"><i class="fa fa-cog"></i>  基本设置</a></li>
                            <li><a href="{{url('logout')}}"><i class="fa fa-sign-out"></i> 注销</a></li>
                        </ul>
                    </li>

                </ul>
            </div>
            <!--notification menu end -->

        </div>
        <!-- header section end-->


        <!--body wrapper start-->
        <div class="wrapper">
            @yield('content')
        </div>
        <!--body wrapper end-->

        <!--footer section start-->
        <footer>
            2018 &copy; 系统 by cyesky
        </footer>
        <!--footer section end-->

    </div>
    <!-- main content end-->
</section>

<!-- Placed js at the end of the document so the pages load faster -->
<script src="{{asset('adminex')}}/js/jquery-1.10.2.min.js"></script>
<script src="{{asset('adminex')}}/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="{{asset('adminex')}}/js/jquery-migrate-1.2.1.min.js"></script>
<script src="{{asset('adminex')}}/js/bootstrap.min.js"></script>
<script src="{{asset('adminex')}}/js/modernizr.min.js"></script>
<script src="{{asset('adminex')}}/js/jquery.nicescroll.js"></script>


<!--icheck -->
<script src="{{asset('adminex')}}/js/iCheck/jquery.icheck.js"></script>
<script src="{{asset('adminex')}}/js/icheck-init.js"></script>



@yield('js')


<!--common scripts for all pages-->
<script src="{{asset('adminex')}}/js/scripts.js"></script>


</body>
</html>
